Windows Socket API usage experienceThis article is some of my experiences in MS-windows and HP-UNIX network programming. It is for your reference only. If the socket function mentioned in this article is not specifically described, it refers to the
Image Description of the SOCKET protocol
The original meaning of socket is "hole" or "socket ". Here we use the 4bds UNIX Process
Information mechanism, take the latter meaning. Socket is very similar to a telephone outlet. Take a national-level
Basic Winsock knowledge
We do not plan to systematically introduce socket or Winsock knowledge here. First, we will introduce the Winsock API function, introduce the concept of blocking/non-blocking, and then introduce the use of socket.
Winsock
1. Problem Introduction
The I/O command set of UNIX systems evolved from COMMANDS IN Maltics and earlier systems, the mode is open-write-read-close ). When a user process performs an I/O operation, it first calls "open" to obtain the right to use
HP-socket
In the past, a general-purpose Windows Socket TCP underlying communication component was developed for a large-scale communication project. The component code is HP-socket. NowCodeOpen it to the public, hoping to help everyone. In
The introduction of--socket is to solve the problem of interprocess communication between different computers
1.socket Relationship to the process
1. The relationship between the socket and the process: the socket is used to exchange information
first, the introduction of--socket is to solve the problem of inter-process communication between different computers.
1.socket Relationship to the process
1). The relationship between the socket and the process: the socket is used to communicate
First, Socket introduction socket is a way of process communication, that is, call this network library of some API functions to distribute in different host related processes between the data exchange. Several definitions: (1) IP address: that is,
Original address: http://acm.tzc.edu.cn/acmhome/projectList.do? Method = projectnewsdetail & nid = 2
Socket principle and programming Basics
I. SocketIntroductionSocket is a method of process communication. It calls some API functions of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.